The crDEVMODE Structure is a Windows API structure that contains information about a printer driver's initialization and environment data. An application passes this structure to the DeviceCapabilities and ExtDeviceMode functions. It is used by the crPESelectPrinter and crPEGetSelectedPrinter functions.
Type crDEVMODE
dmDriverVersion As Integer
' printer driver version number (usually not required)
dmFields As Long
'flags indicating fields to modify (required)
dmOrientation As Integer
dmPaperSize As Integer
dmPaperLength As Integer
dmPaperWidth As Integer
dmScale As Integer
dmCopies As Integer
dmDefaultSource As Integer
dmPrintQuality As Integer
dmColor As Integer
dmDuplex As Integer
dmYResolution As Integer
dmTTOption As Integer
End Type
Constant | Value |
Note: A printer driver supports only those members that are appropriate for the printer technology.
Constant | Description |
Constant | Value |
Note: A range of values is reserved for device
Specifies the printer resolution. Following are the four predefined device |
Constant | Value |
Note: If a positive value is given, it specifies the number of dots per inch (DPI) and is therefore device
Note: If the printer initializes the dmYResolution member, the dmPrintQuality member specifies the x
Specifies whether color printer renders color or monochrome output. Possible values are: |
Constant | Value |
Specifies duplex (double |
Constant | Value |
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |